package com.qyhl.module_practice.rank.person;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeIsVolunteerBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeVolunteerBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeVolunteerDetailBean;

import java.util.List;

public interface PracticeScoreRankContract {
    interface PracticeScoreRankView {
        void setList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setDetail(PracticeVolunteerDetailBean bean);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setError(String msg, boolean isMore);
    }

    interface PracticeScoreRankPresenter {
        void getList(String page, int type);

        void getDetail(String volId);

        void getIsVolunteer(String phone);

        void setDetail(PracticeVolunteerDetailBean bean);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setError(String msg, boolean isMore);
    }

    interface PracticeScoreRankModel {
        void getList(String page, int type);

        void getDetail(String volId);

        void getIsVolunteer(String phone);
    }
}
